import request from "@/utils/request";

// 获取当前班级所有报名记录
export function getInfo(data) {
  return request({
    url: `/api/signuphistory/Xy_ks_signup`,
    method: "get",
    data
  });
}

// 学员信息
export function studentAnalysis(data) {
  return request({
    url: "/api/studentanalysis/Xy_ks_studentanalysis",
    method: "get",
    data
  });
}

// 课程分析
export function reteOfLearing(data) {
  return request({
    url: "/api/xy_ks_class_sourse/Xy_ks_class_sourse",
    method: "get",
    data
  });
}

// 考试分析
export function practiceAnalysis(data) {
  return request({
    url: "/api/scoreManage/Xy_ks_students_score",
    method: "get",
    data
  });
}

// 班级信息
export function classInfo(id,organizeId) {
  return request({
    url: `/api/xy_ks_class_info/Xy_ks_class_info/${id}?organizeId=${organizeId}`,
    method: "get"
  });
}
